import axios from '../utils/request';
const api = {}, map = {
    "find":"/find", 
    "call":"/call",
    "setmock":"/setmock", 
    "save":"/save",
} 
Object.entries(map).forEach(([key, url]) => { api[key] = (data={})=>axios(Object.assign({url},data)) });
export default api;